﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace DTO
{
    public class PHUONGCollection : List<PHUONG>
    { }
    public class PHUONG
    {
        private long MaPhuong;

        public long MAPHUONG
        {
            get { return MaPhuong; }
            set { MaPhuong = value; }
        }
        private String TenPhuong;
        [StringLengthValidator(1,300,MessageTemplate="Tên phường phải có ít nhất 1 ký tự")]
        public String TENPHUONG
        {
            get { return TenPhuong; }
            set { TenPhuong = value; }
        }
        public PHUONG() { }

    }
}
